package com.zyl;


import javafx.stage.Stage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javafx.application.Application;

public class MainApplication extends Application{
    private final static Logger logger = LoggerFactory.getLogger(MainApplication.class);

    public Integer returnOne() {

        return 1;
    }
    public static void main(String[] args) {
        /*
        * OFF
            FATAL
            ERROR
            WARN
            INFO
            DEBUG
            TRACE
            ALL
        * */
        logger.debug("debug");
        logger.info("info");
        logger.warn("warn");
        logger.error("ERROR");
        MainApplication mainApplication = new MainApplication();
        launch(args);
    }

    @Override
    public void start(Stage primaryStage) throws Exception {
        primaryStage.show();
    }
}
